package com.system.healthproject.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel
public class DrugType {
    @ApiModelProperty(name = "drugtypeId",notes = "药品类型id")
    private Integer drugtypeId;
    @ApiModelProperty(name = "drugtypeName",notes = "药品类型名称")
    private String drugtypeName;

    public DrugType() {
    }

    public DrugType(Integer drugtypeId, String drugtypeName) {
        this.drugtypeId = drugtypeId;
        this.drugtypeName = drugtypeName;
    }

    public Integer getDrugtypeId() {
        return drugtypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column drugType.drugType_id
     *
     * @param drugtypeId the value for drugType.drugType_id
     *
     * @mbg.generated
     */
    public void setDrugtypeId(Integer drugtypeId) {
        this.drugtypeId = drugtypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column drugType.drugType_name
     *
     * @return the value of drugType.drugType_name
     *
     * @mbg.generated
     */
    public String getDrugtypeName() {
        return drugtypeName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column drugType.drugType_name
     *
     * @param drugtypeName the value for drugType.drugType_name
     *
     * @mbg.generated
     */
    public void setDrugtypeName(String drugtypeName) {
        this.drugtypeName = drugtypeName == null ? null : drugtypeName.trim();
    }
}
